﻿<div ng-controller="roleListCtrl">    
    <button id="Add" class="btn btn-primary" type="button" ng-click="add()">Add</button>
    <table class="table table-striped table-hover ">
        <tbody>
            <tr ng-repeat="item in list">                
                <td ng-bind="item.Name"></td>                
                <td> <button ng-click="remove($index)" class="btn btn-default">Delete</button></td>
            </tr>
        </tbody>
    </table>  
    @Html.Partial("_RoleEdit")
</div>